package com.smart.service;

import com.smart.entity.SiteInspection;
import com.smart.dto.AppSiteInspectionDto;
import com.baomidou.mybatisplus.core.metadata.IPage;

public interface SiteInspectionService extends BaseService<SiteInspection,Integer>{

	/**
	 * @param dto
	 * @return 工地名称+ 巡检所属日期+ “检查”+ 巡检位置+ 巡检结果10.2 备注及图片单独展示
	 **/
	String appSaveSiteInspection(AppSiteInspectionDto dto);
	
	/**
	 * @param pageNum
	 * @param pageSize 
	 * @param createTime 创建时间
	 * @return 获取分页数据
	 **/
	IPage<SiteInspection> findPage(int pageNum,int pageSize,String createTime);
	
	
	/**
	 * @param submitName
	 * @param createTime_start
	 * @param createTime_end
	 * @param siteId
	 * @param pageNum
	 * @param pageSize
	 * @return 后台端分页查询
	 **/
	IPage<SiteInspection> sysFindPage(String submitName,
		String createTime_start,String createTime_end,Integer siteId,
		Integer pageNum,Integer pageSize);
}